using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;

using Pervote.Core;
using Pervote.Core.Logic;

/// <summary>
/// Summary description for RegularPageBase
/// </summary>
public class WebPageBase : System.Web.UI.Page
{
    public bool IsLoggedIn()
    {
        MembershipUser user = Membership.GetUser();
        if (user == null) return false;
        return true;
    }
}